Skip to content

Even more convenient proto generation#1039

Merged
dandavison merged 3 commits into
mainfrom
dan-9994-proto-generation
Sep 4, 2025
Merged

Even more convenient proto generation#1039
dandavison merged 3 commits into
mainfrom
dan-9994-proto-generation

Conversation

@dandavison

Copy link
Copy Markdown
Contributor

For those using docker to regenerate protos, provide poe gen-protos-docker instead of having to run three shell commands and copy an image ID.

@dandavison dandavison requested a review from a team as a code owner August 20, 2025 15:40
Comment thread scripts/_proto/Dockerfile
RUN poe gen-protos

CMD cp -r ./temporalio/api/* /api_new && cp -r ./temporalio/bridge/proto/* /bridge_new
CMD ["sh", "-c", "cp -r ./temporalio/api/* /api_new && cp -r ./temporalio/bridge/proto/* /bridge_new"]

@dandavison dandavison Aug 20, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoids warning:

     - JSONArgsRecommended: JSON arguments recommended for CMD to prevent
     unintended behavior related to OS signals (line 15)

cursor[bot]

This comment was marked as outdated.

@dandavison dandavison force-pushed the dan-9994-proto-generation branch from cf625ef to fe7e307 Compare August 20, 2025 20:54

@Sushisource Sushisource left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool

Avoids warning:

 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent
 unintended behavior related to OS signals (line 15)
@dandavison dandavison force-pushed the dan-9994-proto-generation branch from fe7e307 to d952aae Compare September 4, 2025 00:50
@dandavison dandavison merged commit bef76a6 into main Sep 4, 2025
17 checks passed
@dandavison dandavison deleted the dan-9994-proto-generation branch September 4, 2025 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants